package com.task.core.service;

import java.util.List;

import com.task.common.domain.info.KeyAndValue;
import com.task.core.domain.AdvertiserInfo;
import com.task.core.dto.request.AdvertiserRequestDTO;

/**
 * @author 迪迦.
 * @date 2024/10/30 13:34
 */
public interface AdvertiserService {

  List<AdvertiserInfo> getAdvertiserByPage(AdvertiserRequestDTO request);

  AdvertiserInfo getBuyerByCodeOrName(String code, String name);

  List<KeyAndValue> getAdvertiserForOption(AdvertiserRequestDTO request);

  void modifyAdvertiser(AdvertiserRequestDTO request);

  void deleteAdvertiser(String buyerCode, Long userId);

  void addAdvertiser(AdvertiserRequestDTO request);


  AdvertiserInfo getAdvertiserDetail(String advertiserCode);
}
